package com.itbaizhan.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 
 * @TableName order_item
 */
@TableName(value ="order_item")
public class OrderItem implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 商品ID
     */
    private Integer produceId;

    /**
     * 购买价格
     */
    private BigDecimal purchasePrice;

    /**
     * 购买数量
     */
    private Integer purchaseNum;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 订单ID
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * 订单ID
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * 商品ID
     */
    public Integer getProduceId() {
        return produceId;
    }

    /**
     * 商品ID
     */
    public void setProduceId(Integer produceId) {
        this.produceId = produceId;
    }

    /**
     * 购买价格
     */
    public BigDecimal getPurchasePrice() {
        return purchasePrice;
    }

    /**
     * 购买价格
     */
    public void setPurchasePrice(BigDecimal purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    /**
     * 购买数量
     */
    public Integer getPurchaseNum() {
        return purchaseNum;
    }

    /**
     * 购买数量
     */
    public void setPurchaseNum(Integer purchaseNum) {
        this.purchaseNum = purchaseNum;
    }
}